package com.imooc.bilibili.domain.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Value;

import java.util.Date;

/**
 * 用户动态
 *
 * @author gcq
 * @Create 2022-05-29
 */
@Data
@TableName(value = "t_user_moments")
public class UserMoment {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField(value = "userId")
    private Long userId;
    private String type;
    @TableField(value = "contentId")
    private Long contentId;
    @TableField(value = "createTime")
    private Date createTime;
    @TableField(value = "updateTime")
    private Date updateTime;

}